package com.topjia.music.request.controller.base;

import com.topjia.music.common.domain.dto.result.BaseResult;
import com.topjia.music.common.domain.enums.ResultEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author topjia
 * @date 2020-11-10 22:12
 */
@RestController
@Slf4j
public class CheckNetworkController {
    @PostMapping("/checknetwork")
    public BaseResult checkNetWork() {
        return BaseResult.builder()
                .code(ResultEnum.SUCCESS.getCode())
                .build();
    }
}
